<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">

	<title>NSMutableArray(TFCore) Category Reference</title>

	<link rel="stylesheet" href="../css/style.css">
	<meta name="viewport" content="initial-scale=1, maximum-scale=1.4">
	<meta name="generator" content="appledoc 2.2.1 (build 1334)">
</head>
<body class="appledoc">
	<header>
		<div class="container" class="hide-in-xcode">
			
			<h1 id="library-title">
				<a href="../index.html">TFFoundation </a>
			</h1>

			<p id="developer-home">
				<a href="../index.html">“Timeface”</a>
			</p>
			
		</div>
	</header>

	<aside>
		<div class="container">
			<nav>
				<ul id="header-buttons" role="toolbar">
					<li><a href="../index.html">Index</a></li>
<li><a href="../hierarchy.html">Hierarchy</a></li>

					<li id="on-this-page" role="navigation">
						<label>
							On This Page

							<div class="chevron">
								<div class="chevy chevron-left"></div>
								<div class="chevy chevron-right"></div>
							</div>

							<select id="jump-to">
	<option value="top">Jump To&#133;</option>
	
	<option value="overview">Overview</option>
	

	
	
	<option value="tasks">Tasks</option>
	
	

	
	

	

	
	<optgroup label="Instance Methods">
		
		<option value="//api/name/tf_filterWithPredicateBlock:">- tf_filterWithPredicateBlock:</option>
		
		<option value="//api/name/tf_filterWithPredicateFormat:">- tf_filterWithPredicateFormat:</option>
		
		<option value="//api/name/tf_sortWithAscending:">- tf_sortWithAscending:</option>
		
		<option value="//api/name/tf_sortWithDescriptorDic:">- tf_sortWithDescriptorDic:</option>
		
	</optgroup>
	
	
</select>
						</label>
					</li>
				</ul>
			</nav>
		</div>
	</aside>

	<article>
		<div id="overview_contents" class="container">
			<div id="content">
				<main role="main">
					<h1 class="title">NSMutableArray(TFCore) Category Reference</h1>

					
					<div class="section section-specification"><table cellspacing="0"><tbody>
						<tr>
	<th>Declared in</th>
	<td>NSMutableArray+TFCore.h<br />NSMutableArray+TFCore.m</td>
</tr>
						</tbody></table></div>
					

                    
					
					<div class="section section-overview">
						<a title="Overview" name="overview"></a>
						<h2 class="subtitle subtitle-overview">Overview</h2>
						<p>NSMutableArray常用的类别</p>
					</div>
					
					

					
					
					<div class="section section-tasks">
						<a title="Tasks" name="tasks"></a>
						

						<a title="快速处理数据方法--包含筛选、匹配、排序等等。" name="task_快速处理数据方法--包含筛选、匹配、排序等等。"></a>
						
<h2 class="task-title">快速处理数据方法--包含筛选、匹配、排序等等。</h2>
						<div class="task-list">
							<div class="section-method">
	<a name="//api/name/tf_filterWithPredicateBlock:" title="tf_filterWithPredicateBlock:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_filterWithPredicateBlock:">&ndash;&nbsp;tf_filterWithPredicateBlock:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>从可变数组中筛选出符合条件的元素</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)tf_filterWithPredicateBlock:(nonnull TFArrayPredicateBlock)<em>predicateBlock</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>predicateBlock</code></th>
						<td><blockquote><p>筛选条件的block</p>

<p>根据返回的BOOL值返回是否筛选的为该元素，参数如下：</p>

<blockquote><p>obj 数组中的元素</p></blockquote></blockquote></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>从可变数组中筛选出符合条件的元素</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSMutableArray+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_filterWithPredicateFormat:" title="tf_filterWithPredicateFormat:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_filterWithPredicateFormat:">&ndash;&nbsp;tf_filterWithPredicateFormat:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>从可变数组中根据谓词筛选出符合条件的元素</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)tf_filterWithPredicateFormat:(nonnull NSString *)<em>predicateFormat</em>, <em>...</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>predicateFormat</code></th>
						<td><p>谓词格式化字符串</p></td>
					</tr>
				
					<tr>
						<th scope="row" class="argument-name"><code>...</code></th>
						<td><p>格式化字符串</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>从可变数组中根据谓词筛选出符合条件的元素</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSMutableArray+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_sortWithAscending:" title="tf_sortWithAscending:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_sortWithAscending:">&ndash;&nbsp;tf_sortWithAscending:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>根据是否升序排列数据</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)tf_sortWithAscending:(BOOL)<em>ascending</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>ascending</code></th>
						<td><p>是否升序</p></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>根据是否升序排列数据</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSMutableArray+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div><div class="section-method">
	<a name="//api/name/tf_sortWithDescriptorDic:" title="tf_sortWithDescriptorDic:"></a>
	<h3 class="method-title"><code><a href="#//api/name/tf_sortWithDescriptorDic:">&ndash;&nbsp;tf_sortWithDescriptorDic:</a></code>
</h3>

	<div class="method-info">
		<div class="pointy-thing"></div>

		<div class="method-info-container">
			
			
			<div class="method-subsection brief-description">
				<p>根据描述字典排序数组</p>
			</div>
			
		    

			<div class="method-subsection method-declaration"><code>- (void)tf_sortWithDescriptorDic:(nonnull NSDictionary&lt;NSString*,NSNumber*&gt; *)<em>descriptorDic</em></code></div>

		    
			
			<div class="method-subsection arguments-section parameters">
				<h4 class="method-subtitle parameter-title">Parameters</h4>
				<table class="argument-def parameter-def">
				
					<tr>
						<th scope="row" class="argument-name"><code>descriptorDic</code></th>
						<td><blockquote><p>筛选字典格式如下:</p>

<blockquote><p>key:筛选的字符串，可以为字典的key或者数据模型的属性，以及属性的属性.</p>

<p>value:是否升序</p>

<p>示例：@{@&ldquo;propertyNameOrKeyName&rdquo;:@NO}</p></blockquote></blockquote></td>
					</tr>
				
				</table>
			</div>
			

			

			

			
			<div class="method-subsection discussion-section">
				<h4 class="method-subtitle">Discussion</h4>
				<p>根据描述字典排序数组</p>
			</div>
			

			

			

			
			<div class="method-subsection declared-in-section">
				<h4 class="method-subtitle">Declared In</h4>
				<p><code class="declared-in-ref">NSMutableArray+TFCore.h</code></p>
			</div>
			
			
		</div>
	</div>
</div>
						</div>
						
					</div>
					
					

                    
                    
          
				</main>

				<footer>
					<div class="footer-copyright">
						
						<p class="copyright">Copyright &copy; 2017 “Timeface”. All rights reserved. Updated: 2017-08-17</p>
						
						
						<p class="generator">Generated by <a href="http://appledoc.gentlebytes.com">appledoc 2.2.1 (build 1334)</a>.</p>
						
					</div>
				</footer>
			</div>
		</div>
	</article>

	<script src="../js/script.js"></script>
</body>
</html>